package com.ruoyi.bbsAdmin.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 论坛审核记录对象 bbs_check_record
 * 
 * @author ruoyi
 * @date 2024-06-04
 */
@TableName(value = "bbs_check_record")
public class CheckRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 帖子ID */
    @Excel(name = "帖子ID")
    private String contentId;

    /** 发帖用户id */
    @Excel(name = "发帖用户id")
    private String userId;

    /** 学校id */
    @Excel(name = "审核状态")
    private Integer schoolId;

    /** 审核状态（1:完成；0:未完成：需要人工复审） */
    @Excel(name = "审核状态", readConverterExp = "1=:完成；0:未完成：需要人工复审")
    private Integer checkState;

    /** 帖子违规原因 */
    @Excel(name = "审核帖子内容")
    private String checkText;

    /** 帖子违规状态 */
    @Excel(name = "帖子违规状态")
    private Integer breakRuleState;

    /** 帖子违规原因 */
    @Excel(name = "帖子违规原因")
    private String breakRuleReason;

    /** 审核时间 */
    @Excel(name = "审核时间")
    private Date checkTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setContentId(String contentId) 
    {
        this.contentId = contentId;
    }

    public String getContentId() 
    {
        return contentId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setCheckState(Integer checkState) 
    {
        this.checkState = checkState;
    }

    public Integer getCheckState() 
    {
        return checkState;
    }
    public void setBreakRuleState(Integer breakRuleState) 
    {
        this.breakRuleState = breakRuleState;
    }

    public Integer getBreakRuleState() 
    {
        return breakRuleState;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }

    public void setSchoolId(Integer schoolId)
    {
        this.schoolId = schoolId;
    }

    public Integer getSchoolId()
    {
        return schoolId;
    }

    public void setBreakRuleReason(String breakRuleReason)
    {
        this.breakRuleReason = breakRuleReason;
    }

    public String getBreakRuleReason()
    {
        return breakRuleReason;
    }

    public void setCheckText(String checkText)
    {
        this.checkText = checkText;
    }

    public String getCheckText()
    {
        return checkText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contentId", getContentId())
            .append("userId", getUserId())
            .append("checkState", getCheckState())
            .append("checkText", getCheckText())
            .append("breakRuleState", getBreakRuleState())
            .append("breakRuleReason", getBreakRuleReason())
            .append("checkTime", getCheckTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
             .append("schoolId", getSchoolId())
            .toString();
    }
}
